package com.czr.service.archives;

import com.czr.vo.ArticleWithYearVo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Description:
 * Author: czr czr
 * Version: 1.0
 * Create Date Time: 2021/11/27 21:45.
 * Update Date Time:
 *
 * @see
 */
public interface ArchivesService {

    // 查询归档列表
    List<HashMap<String, Object>> getAllArchives();

    List<ArticleWithYearVo> getAllArchives2();

    List<HashMap<String, Object>> findBlogYearGroup();

    // 根据年份查询对应分页数据
    List<ArticleWithYearVo> queryBlogYearGroup();

    // 根据年份和分页信息查询对应文章数据
    List<Map<String, Object>> queryBlogPages(Integer year, Integer pageNo, Integer pageSize);

}
